package com.jy.rhin.model.body.ertongjktj;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import lombok.Getter;
import lombok.Setter;
//转诊建议
@Getter
@Setter
public class ZhuanZhenJY {
    //转诊标志
    @XPath(model = "code",
            codePath = "/entry/observation/code[@code='DE06.00.174.00']",
            path = "/value/@value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_174_00))
    String zhuanZhenBZ;

    //转诊原因
    @XPath(path = "/entry/observation/entryRelationship/act/text",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_177_00))
    String zhuanZhenYY;

    //转入机构科室名称
    @XPath(path = "/entry/observation/entryRelationship/act/performer/assignedEntity/representedOrganization/name/text()")
    String zhuanRuKSMC;

    //转入医疗机构名称
    @XPath(path = "/entry/observation/entryRelationship/act/performer/assignedEntity/representedOrganization/asOrganizationPartOf/wholeOrganization/name/text()")
    String zhuanRuYLJGMC;
}
